package top.hzy520.stock.service;

import top.hzy520.stock.entity.ReduceStock;

import java.util.List;
import java.util.Map;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 17:13 2018/6/8
 */
public interface StockService {
    int queryStock(Long id);

    void initStock(Long id);

    Map<Long,Integer> reduceStock(List<ReduceStock> reduceStockList);
}
